import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/assets/css/reset.scss'
import '@/assets/css/iconfont.scss';
import '@/assets/css/variable.scss';
import '@/assets/css/lessIndex.less';
// import 'vant/lib/index.less';
import api from './api/index'

Vue.prototype.$request = api
import reg from '@/assets/js/reg';
Vue.prototype.$reg = reg;
import utils from '@/assets/js/utils';
Vue.prototype.$utils = utils;
import myUtils from '@/assets/js/myUtils.js';
Vue.prototype.$myUtils = myUtils;
import VueCookies from 'vue-cookies';
Vue.prototype.$cookies = VueCookies;
Vue.prototype.bus = new Vue();
Vue.config.productionTip = false;

// const gif = 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-767674fd-0f0e-4801-90e6-bef27c2e36df/8045f2b6-b3ff-4dcd-96e9-c828af8d383a.gif'
// const gif = 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-767674fd-0f0e-4801-90e6-bef27c2e36df/b85a0c10-ddce-49eb-8426-5d5a4654aebc.gif'
const gif = 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-767674fd-0f0e-4801-90e6-bef27c2e36df/b8a5b2d2-3f96-4239-b5d1-a8198363cb1b.gif'
let image = new Image();
// image.classList.add('videoc');
image.src = gif;
Vue.prototype.image = image

import { NoticeBar,Divider,Tabbar,TabbarItem,CheckboxGroup,Checkbox,Notify,Icon,Toast,Dialog,Cell,CellGroup,Button,Image as VanImage,Collapse,CollapseItem,DatetimePicker,
 Tab,Tabs,List,PullRefresh,Loading,Popup,Swipe,SwipeItem,Lazyload,DropdownMenu,DropdownItem,Field,ActionSheet,
 Search,RadioGroup, Radio, Empty,Form,Picker,Tag,Sku,Stepper,Calendar,Grid,GridItem,Badge,NavBar,Uploader,ImagePreview,Progress,Col,Row  } from 'vant';
Vue.use(NoticeBar).use(Divider).use(Tabbar).use(TabbarItem).use(Notify).use(Icon).use(Toast).use(Dialog).use(Button).use(Lazyload).use(Collapse).use(CollapseItem)
.use(Cell).use(CellGroup).use(VanImage).use(Swipe).use(SwipeItem).use(DropdownMenu).use(DropdownItem)
.use(Tab).use(Tabs).use(List).use(PullRefresh).use(Loading).use(Popup).use(DatetimePicker).use(ActionSheet)
.use(Field).use(Search).use(RadioGroup).use(Radio).use(Empty).use(Form).use(Picker).use(Tag).use(Sku).use(Stepper)
.use(Calendar).use(Grid).use(GridItem).use(Badge).use(NavBar).use(CheckboxGroup).use(Checkbox).use(Uploader).use(ImagePreview)
.use(Progress).use(Col).use(Row);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app');
